<script>
var p = new Promise((resolve, reject) => {
    resolve(111)
})

var p1 = p.then(res => {
    console.log(res)
    return p1
})
</script>